package com.bwie.user.listener;

import com.bwie.user.entity.UserEntity;
import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @author By:HDsir
 * @date 2022/3/24
 */
@Component
@RabbitListener(queues = "Q_update")
public class MyListener {

    @RabbitHandler
    public void getMsg(UserEntity userEntity) {

    }
}
